home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel Volume 2 #1
/
carousel.iso
/
mactosh
/
hc
/
prognote.sit
/
Programmer's Notebook
/
card_388484.txt
< prev
next >
Wrap
Text File
|
1988-11-27
|
619b
|
22 lines
-- card: 388484 from stack: in
-- bmap block id: 0
-- flags: 0000
-- background id: 2657
-- name:
-- part contents for background part 1
----- text -----
Munger(h:Handle;offset:LONGINT;p1:Ptr;len1:LONGINT;
p2:Ptr;len2:LONGINT):LONGINT;Γêå{A9E0}I-468
general:scan for (p1,len1) after offset,replace by (p2,len2)
p1=nil - replace (offset,len) with (p2,len2)
len1=0 - insert (p2,len2) at offset
p2=nil - no replacement,just searches for (p1,len1)
p1Γëánil,len2=0,p2Γëánil - find and deletes (p1,len1)
p1=nil,len2=0,p2Γëánil - deletes (offset,len)
-- part contents for background part 45
----- text -----
Munger